package ooday03;

public class Person {
    String name;
    int age;
    String address;
    Person(String name,int age,String address){
        this.name=name;
        this.age=age;
        this.address=address;
    }
    void eat(){
        System.out.println("一个名叫"+name+"的，"+age+"岁的来自"+address+"的人在吃饭");
    }
    void work(){
        System.out.println("一个名叫"+name+"的，"+age+"岁的来自"+address+"的人在工作");
    }
}
